<%@ page import="hp.com.entity.Users" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String path = request.getContextPath();
    request.setAttribute("path",path);
    Users userSession =(Users) request.getSession().getAttribute("userSession");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link type="text/css" rel="stylesheet" href="${path}/jbs/css/style.css" />
    <script src="${path}/jbs/js/iepng.js" type="text/javascript"></script>
        <script type="text/javascript">
           EvPNG.fix('div, ul, img, li, input, a'); 
        </script>
        
    <script type="text/javascript" src="${path}/jbs/js/jquery-1.8.2.min.js"></script>
    <script type="text/javascript" src="${path}/jbs/js/menu.js"></script>
        
	<script type="text/javascript" src="${path}/jbs/js/select.js"></script>

    <link rel="icon" href="<%=path%>/jbs/images/ico.ico" type="image/x-icon">
<title>用户信息-青鸟优选</title>
</head>
<body style="margin:0">
<div class="soubg">
    <div class="sou">
        <span class="fr">
        	<span class="fl">
                <c:choose>
                    <c:when test="<%= userSession == null%>">
                        <a href="${path}/jbs/Regist.jsp" style="color:##02A4F8;">免费注册</a>&nbsp;|&nbsp;
                        <a href="${path}/jbs/Login.jsp" style="color:##02A4F8;">马上登录</a>
                    </c:when>
                    <c:otherwise>
                        <%=userSession.getLoginname()%> |&nbsp;<a href="${path}/User">个人中心</a> | <a href="${path}/Orders">我的订单</a> |
                        <a href="${path}/Cart#showCart">购物车</a>
                    </c:otherwise>
                </c:choose>&nbsp;
            </span>
        </span>
    </div>
</div>
<div class="m_top_bg">
    <div class="top">
        <div class="m_logo"><a href="<%=path%>/Index"><img src="${path}/jbs/images/logo1.png" /></a></div>
    </div>
</div>
<!--End Header End--> 
<div class="i_bg bg_color">
    <!--Begin 用户中心 Begin -->
	<div class="m_content">
        <div class="m_left">
            <div class="left_n">管理面板</div>
            <div class="left_m" style="padding: 0">
                <div class="left_m_t t_bg2">会员中心</div>
                <ul>
                    <a href="${path}/User" ><li style="background-color: #02A4F8;color: #FFFFFF">用户信息</li></a>
                    <a href="${path}/Address"><li>地址管理</li></a>
                    <a href="${path}/jbs/Member_Collect.jsp"><li>我的收藏</li></a>
                </ul>
            </div>
            <div class="left_m" style="padding: 0">
                <div class="left_m_t t_bg1">订单中心</div>
                <ul>
                    <a href="${path}/Orders"> <li>我的订单</li></a>
                </ul>
            </div>
            <div class="left_m" style="padding: 0">
                <div class="left_m_t t_bg3">安全中心</div>
                <ul>
                    <a href="${path}/jbs/Member_Safe.jsp"><li>账户安全</li></a>
                </ul>
            </div>
        </div>
		<div class="m_right">
        	<div class="m_des">
            	<table border="0" style="width:870px; line-height:22px;" cellspacing="0" cellpadding="0">
                  <tr valign="top">
             <td width="115"><img src="${path}${user.pic_link}" width="130" height="130" style="object-fit: cover;border-radius: 90px;" /></td>
<%--                      <td>更换头像--%>
<%--                          <input type="file" name="file"/>--%>
<%--                      </td>--%>
                    <td>
                    	<div class="m_user" style="margin-top: 35px;margin-left: 30px;">${user.loginname}</div>
                        <p style="margin-left: 30px;">
                            等级：普通用户 <br />
                        </p>
                    </td>
                  </tr>
                </table>	
            </div>
<%--            <div class="mem_t">资产信息</div>--%>
<%--            <table border="0" class="mon_tab" style="width:870px; margin-bottom:20px;" cellspacing="0" cellpadding="0">--%>
<%--              <tr>--%>
<%--                <td colspan="3">订单提醒：--%>
<%--                	<font style="font-family:'宋体';">待发货(<span>${fahuo}</span>) &nbsp;&nbsp;&nbsp;&nbsp;待收货(<span>${daishouhuo}</span>) &nbsp; &nbsp; &nbsp; &nbsp; 已收货(<span>${shouhuo}</span>) &nbsp; &nbsp; &nbsp; &nbsp; 全部订单(<span>${quanbu}</span>)</font>--%>
<%--                </td>--%>
<%--              </tr>--%>
<%--            </table>--%>

            <div class="mem_t">账号信息</div>
            <table border="0" class="mon_tab" style="width:870px; margin-bottom:20px;" cellspacing="0" cellpadding="0">
              <tr>
                <td width="40%">用户名称：<span style="color:#555555;">${user.loginname}</span></td>
                <td width="60%">邀请人：<span style="color:#555555;">无</span></td>
              </tr>
              <tr>
                <td>电&nbsp; &nbsp; 话：<span style="color:#555555;">${user.phone}</span></td>
                <td>邮&nbsp; &nbsp; 箱：<span style="color:#555555;">${user.email}</span></td>
              </tr>
            </table>
               
            
        </div>
    </div>
	<!--End 用户中心 End--> 
    <!--Begin Footer Begin -->
    <div class="b_btm_bg b_btm_c">
        <div class="b_btm">
            <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0">
              <tr>
                <td width="72"><img src="${path}/jbs/images/b1.png" width="62" height="62" /></td>
                <td><h2>正品保障</h2>正品行货  放心购买</td>
              </tr>
            </table>
			<table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0">
              <tr>
                <td width="72"><img src="${path}/jbs/images/b2.png" width="62" height="62" /></td>
                <td><h2>满38包邮</h2>满38包邮 免运费</td>
              </tr>
            </table>
            <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0">
              <tr>
                <td width="72"><img src="${path}/jbs/images/b3.png" width="62" height="62" /></td>
                <td><h2>天天低价</h2>天天低价 畅选无忧</td>
              </tr>
            </table>
            <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0">
              <tr>
                <td width="72"><img src="${path}/jbs/images/b4.png" width="62" height="62" /></td>
                <td><h2>准时送达</h2>收货时间由你做主</td>
              </tr>
            </table>
        </div>
    </div>
    <div class="btmbg">
        <div class="btm">
            <a href="https://beian.miit.gov.cn">备案/许可证编号：鄂ICP备20008779号-1</a> <br />本站仅供个人学习实践，无实际购买功能
        </div>
    </div>
    <!--End Footer End -->    
</div>

</body>


<!--[if IE 6]>
<script src="${path}/jbs/js/zh_CN.js"></script>
<![endif]-->
</html>
